﻿namespace Idenmpotency
{
    /// <summary>
    /// 默认的幂等性请求处理器工厂（进一步隔离上下游）
    /// </summary>
    public class DefaultIdenmpotencyRequestHandlerFactroy : IIdenmpotencyRequestHandlerFactroy
    {

        private IIdenmptencyRequestHandler _handler;
        public IIdenmptencyRequestHandler Handler => this._handler;
        public DefaultIdenmpotencyRequestHandlerFactroy(IIdenmptencyRequestHandler handler)
        {
            this._handler = handler;
        }
    }
}
